/**
 * 
 */
package com.wodsy.phoenix.datadao.cms.dao;

import java.util.List;

import com.wodsy.phoenix.datadao.base.IBaseDao;
import com.wodsy.phoenix.dataobject.base.Pager;
import com.wodsy.phoenix.dataobject.cms.model.IdxNewGoodsRecommended;

/**
 * @author bryan
 *
 */
public interface CmsHomePageNewGoodsDao extends IBaseDao<IdxNewGoodsRecommended, Integer> {
	
	public List<IdxNewGoodsRecommended> getOnlineNewGoodsRec();
	
	public Pager<IdxNewGoodsRecommended> searchNewGoodsRecByOrder(Pager<IdxNewGoodsRecommended> newGoodsRec,IdxNewGoodsRecommended goodsreq);
	
	public Integer updateGoodsRecommendedStatus(int goods_recId,int status);

	public Integer updateGoodsRecommendedStatus(Integer[] goods_recIds,int status);
	
	public Integer addNewGoodsRecommended(IdxNewGoodsRecommended newGoods);

	public void updateNewGoodsRecommended(IdxNewGoodsRecommended newGoods);
}
